From 3b81fafa80f21a77eb4328648e30b87ec635fcaa Mon Sep 17 00:00:00 2001 From: zhusir Date: Mon, 15 Dec 2025 20:03:02 +0800 Subject: [PATCH] luci-app-acme: fixed the issue where certificates were not displaying (#8151) * luci-app-acme: fixed the issue where certificates were not displaying --- .../htdocs/luci-static/resources/view/acme/acme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js index 9b09508367..31556cb3a0 100644 --- a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js +++ b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme/acme.js @@ -12,7 +12,7 @@ return view.extend({ L.resolveDefault(fs.list('/etc/ssl/acme/'), []).then(files => { let certs = []; for (let f of files) { - if (f.type == 'file' && f.name.match(/\.fullchain\.crt$/)) { + if (f.name.match(/\.fullchain\.crt$/)) { certs.push(f); } } -- 2.30.2